package com.white.hot.dao;

import org.apache.ibatis.annotations.Param;

import com.white.hot.dto.User;

public interface UserDao {
	
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    User selectByPrimaryKey(Long id);
    
    User selectByPhone(String tel);
    
    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    User selectByAccount(@Param("account") String account, @Param("pwd") String pwd);
}